[DEBUG] : Searching for beacons... [DEBUG] : beacon(s) found! [DEBUG] : beacon(s) list = [Beacon{macAddress=[EB:DF:3F:88:CB:AE], proximityUUID=b9407f30-f5f8-466e-aff9-25556b57fe6a, major=42163, minor=35568, measuredPower=-76, rssi=-71}] [DEBUG] : reg = BeaconRegion{identifier=ranging region, proximityUUID=b9407f30-f5f8-466e-aff9-25556b57fe6a, major=null, minor=null, secure=false} [DEBUG] : reg.getClass() = class com.estimote.coresdk.observation.region.beacon.BeaconRegion [DEBUG] : reg.getMajor() = null [DEBUG] : closestBeacon = Beacon{macAddress=[EB:DF:3F:88:CB:AE], proximityUUID=b9407f30-f5f8-466e-aff9-25556b57fe6a, major=42163, minor=35568, measuredPower=-76, rssi=-71} [DEBUG] : closestBeacon.getClass() = class com.estimote.coresdk.recognition.packets.Beacon [ERROR] : TiExceptionHandler: (main) [1081,70574] ----- Titanium Javascript Runtime Error ----- [ERROR] : TiExceptionHandler: (main) [1,70575] - In /alloy/controllers/index.js:48,84 [ERROR] : TiExceptionHandler: (main) [1,70576] - Message: Uncaught TypeError: closestBeacon.getMajor is not a function [ERROR] : TiExceptionHandler: (main) [2,70578] - Source: Ti.API.debug("closestBeacon.getMajor() = " + closestBeacon.getMajor()); [ERROR] : V8Exception: Exception occurred at /alloy/controllers/index.js:48: Uncaught TypeError: closestBeacon.getMajor is not a function